package com.isesol.ime.service;

import com.isesol.ime.entity.*;
import com.isesol.ime.manager.*;
import org.springframework.stereotype.*;

import javax.annotation.*;
import java.util.*;

/**
 * 机床参数  Service
 */
@Component
public class TypeService{

	/**
	 * 机床类型管理 Manager
	 */
	@Resource
	TypeManager typeManager;

	public List<Type> getAllType() throws Exception{

		List<Type> list = typeManager.findAll();

		return list;
	}

}
